Time Base Functions
The Movie Toolbox provides a number of functions that allow you to work with time bases. A QuickTime time base defines the time coordinate system of a movie. However, you can also use QuickTime time bases to provide general timing services. This section describes the functions that allow your application to work with time bases. For a complete description of QuickTime time bases, see "Introduction to Movies" beginning on page 2-5.This section has been divided into the following topics:
- "Creating and Disposing of Time Bases" describes how to create and dispose of time bases and how to assign a time base to a movie
- "Working With Time Base Values" discusses functions that allow your application to work with the contents of a time base
- "Working With Times" describes a number of functions that allow you to convert times between time bases and to perform simple arithmetic on time values
- "Time Base Callback Functions" describes the functions your application may use to condition a time base to invoke functions your application provides
- Note
- Time base functions do not change the value of the Movie Toolbox sticky error value.
![]()
Subtopics
- Creating and Disposing of Time Bases
- Working With Time Base Values
- Working With Times
- Time Base Callback Functions